<script setup lang="ts">
const { data: home } = await useAsyncData(() =>
  queryCollection("document").path("/a").first()
);
definePageMeta({
  title: "我的首页",
});
</script>

<template>
  <div>
    <p>首页</p>
    <ContentRenderer v-if="home" :value="home" />
    <!-- 跳转到/admin -->
    <router-link to="/admin">跳转到/admin</router-link>
  </div>
</template>
